<?php
/**
 * Created by PhpStorm.
 * User: xiao
 * Date: 2017/6/5
 * Time: 下午4:42
 */

namespace app\domain;


class TestDomain extends BaseDomain
{
    public function helloWorld()
    {
        $this->checkVersion(100);
        $name = $this->_post('name',"",'用户名缺失');
        $this->apiReturnSuc('hello world '.$name);
    }
}